package org.jwcloud.project.module.zx.template.service.repository;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import com.jw.mid.mm.comm.common.pagination.ListBounds;
import org.apache.ibatis.annotations.Param;

/**
 * 模板
 * @author song
 *
 */
@Mapper
public interface RptSpRepository {

	public List<Map<String, String>> querySpPersonTree(Map tableName);
	
	public List querySpList(Map<String, String> param);
	public List querySpList_dsp(Map<String, String> param);
	public String querySpList_total(Map<String, String> param);
	public String querySpList_dsp_total(Map<String, String> param);
	
	public int doSp(Map<String, String> param);
	/**
	 * 驳回后所有审批重置
	 * @param param
	 * @return
	 */
	public int doSpbtg_bohui(Map<String, String> param);
	public int doSpbtg_copy(Map<String, String> param);
	
	public List querySpHis_byTask(Map<String, String> param);
	
	public List querySpLogList(Map<String, String> param);
	public List querySpLogList_totle(Map<String, String> param);
	
	
	public List queryHisSpLogList(Map<String, String> param);
	public String queryHisSpLogList_total(Map<String, String> param);
				
	public List queryRefuse(Map<String, String> param);
	public int doSp_taskFlag(Map<String, String> param);
	//是否全部审批通过
	public String isAllSpAccess(Map<String, String> param);
	
}
